<?php
class Shangku_RandomReviewsImport_Block_Adminhtml_Import extends Mage_Adminhtml_Block_Widget_Form_Container
{
 	/**
     * Constructor
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();

        $this->removeButton('back')
            ->removeButton('reset')
            ->_updateButton('save', 'label', $this->__('Import'))
            ->_updateButton('save', 'id', 'upload_button');
            //->_updateButton('save', 'onclick', 'editForm.postToFrame();');
    }

    /**
     * Internal constructor
     *
     * @return void
     */
    protected function _construct()
    {
        parent::_construct();
        $this->_blockGroup = 'randomreviewsimport';
        $this->_mode = 'import';
        $this->_controller = 'adminhtml';
    }

    /**
     * Get header text
     *
     * @return string
     */
    public function getHeaderText()
    {
        return Mage::helper('review')->__('Random Import Reviews');
    }

}
